from nodetypes.ntypes.Document.showTranslations.MML import Transform as DocumentT, \
    Document as DocumentD

from nodetypes.ntypes.GraphDocument.view.MML import Transform, \
    Document as GraphDocumentD


class Document(GraphDocumentD, DocumentD):
    
    def createContentContainer(self, context, node, locale):
        GraphDocumentD.createContentContainer(self, context, node, locale)
        DocumentD.createContentContainer(self, context, node, locale)
        return node
    

class Transform(Transform, DocumentT):
    
    newDocument = Document
    
    
# cleanup
del DocumentT